
OBJ = $(wildcard *.tex)

doc: ${OBJ}
	@xelatex $^
	@bibtex main.aux
	@xelatex $^
	@xelatex $^

.PHONY:clean
clean:
	rm -f *.aux *.bbl *.blg *.log *.run.xml *.pdf *.synctex.gz main.bbl main-blx.bib
	latexmk -c 